public class Main {
    public static void main(String[] args) {
        System.out.println("Hello and welcome!");

        VoltageAdapter adapter = new VoltageAdapter(new ACPowerSource());
        //System.out.println("原始电压:" + adapter.getAc220Input().outPutVoltage());
        System.out.println("适配之后" + adapter.outPut5V());
        System.out.println("适配之后" + adapter.outPut12());
    }
}